﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ReferralTracker.Data.Repositories {
    public interface IRepository<TEntity> {
        void Add(TEntity entity);
        void Delete(TEntity entity);
        TEntity FindByKey(params object[] keyValues);
        IList<TEntity> SelectAll();
        int GetCount();
    }
}
